package fun.tan90.easy.binlog.manager.config;

import fun.tan90.easy.binlog.base.strategy.AbstractStrategyChoose;
import fun.tan90.easy.binlog.manager.property.EasyBinlogManagerProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * description TODO
 * company 铁人科技
 *
 * @author 陈浩杰
 * @date 2023/7/13 8:50
 */
@Slf4j
@Configuration
@Import(cn.hutool.extra.spring.SpringUtil.class)
@EnableConfigurationProperties(EasyBinlogManagerProperties.class)
public class EasyBinlogPlusManagerAutoConfiguration {

    @Bean
    public AbstractStrategyChoose abstractStrategyChoose() {
        return new AbstractStrategyChoose();
    }
}